package com.whub507.msgmanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whub507.msgmanager.common.ResResult;
import com.whub507.msgmanager.common.vo.ApprovingProjectVO;
import com.whub507.msgmanager.domain.Project;

import java.util.List;

public interface ProjectService extends IService<Project> {

    Boolean insertProject(Project project);

    List<Project> searchProject(String keyWord, Integer userId);

    List<Project> listAllProject(Integer userId);

    Project getProjectByName(String name);

    Boolean deleteProjects(List<String> projectNames, Integer senderId);

    List<ApprovingProjectVO> getApproveProjects(Integer userId);

    String updateProjectsStatus(List<Integer> projectIds, Integer status);

    String reUploadProject(Project project);
}
